package admin.server.model.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author zgb
 * @date 2024-03-12 15:01
 * @description TODO
 */
@Schema(description = "创建角色 参数对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UmsRoleCreateParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "备注")
    private String description;


    @Schema(description = "启用状态：0->禁用；1->启用")
    private Integer status;


    @Schema(description = "菜单id列表")
    List<Long> menuIds = new ArrayList<>();


    @Schema(description = "资源id列表")
    List<Long> resourceIds = new ArrayList<>();


    @Schema(description = "是否超管")
    private Boolean supAdminYn=false;

}